/**
 * fulihui.com Inc.
 * Copyright (c) 2015-2016 All Rights Reserved.
 */
package com.fulihui.integral.core.dal.repository.impl;

import com.fulihui.integral.core.biz.conv.ISStatInfoConvert;
import com.fulihui.integral.core.dal.mapper.ext.ISStatInfoExtMapper;
import com.fulihui.integral.core.dal.repository.ISStatInfoRepository;
import com.fulihui.integral.core.dto.ISStatInfoDTO;
import org.springframework.stereotype.Repository;

import javax.inject.Inject;
import java.util.List;

/**
 * @author zhangyingjie
 * @version $Id: v 0.1 2017年04月13日 18:47 zhangyingjie Exp $
 */
@Repository
public class ISStatInfoRepositoryImpl implements ISStatInfoRepository {
    @Autowired
    private ISStatInfoExtMapper iSStatInfoExtMapper;
    @Override
    public boolean insertBatch(List<ISStatInfoDTO> list) {
        return iSStatInfoExtMapper.insertBatch(ISStatInfoConvert.convertdto2doList(list));
    }
}
